<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>个人主页</title>
       <link rel="stylesheet" type="text/css"  href="/static/css/index.css">
    <link rel="stylesheet" type="text/css" href="/static/css/reset.css">
    <link rel="stylesheet" href="/static/css/bootstrap.min.css">

</head>
<body>


<div class="header_con">
		<div class="header">
			<div class="welcome fl">欢迎来到天天商城!</div>
			<div class="fr">
				<div class="user_link fl">
					<span>|</span>
                    <a href="{{ url_for('index') }}">首页</a>
                    <span>|</span>
                    <a href="{{ url_for('user.main')}}">用户中心</a>
					<span>|</span>
					<a href="{{ url_for('user.showCart')}}">我的购物车</a>
				</div>
			</div>
		</div>
	</div>

<div class="fr"><a href="{{ url_for('user.showCart')}}"><img class="cart" style="width: 120px;height: 100px;" src="/static/images/cart.jpg" alt="未加载出图片..."></a></div>
<h2>我最近看过：</h2>

<div class="container">
	<div class="goods_con clearfix">
			<ul class="goods_list fl">
                {% for footprint in footprints %}
                  <li>
                      <h4><a href="{{ url_for('product.detail',id=footprint.product['id']) }}">{{ footprint.product.pname }}</a></h4>
                      <a href="{{ url_for('product.detail') }}"><img src="{{ footprint.product.images }}" alt="未加载成功..."></a>
                      <div class="prize">{{ footprint.product.price }}</div>
                  </li>
                {% endfor %}

			</ul>
		</div>
</div>
</body>
</html>